home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / technical documentation / develop / develop issue 20 / develop issue 20 code / scripting the finder.sea / Scripting the Finder / Zawphing / Zawphing README < prev    next >
MacBinary  |  1994-10-13  |  4.6 KB  |  [TEXT/MMCC]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Thu Oct 13 14:43:54 1994, modified Thu Oct 13 14:43:54 1994, creator 'MMCC', type ASCII, 4213 bytes "Zawphing README" , at 0x10f5 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MMCC]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 5a 61 77 70 68 69 | 6e 67 20 52 45 41 44 4d |..Zawphi|ng READM|
|00000010| 45 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |E.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 4d 43 | 43 01 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 10 75 00 | 00 01 7e aa c3 30 6a aa |......u.|..~..0j.|
|00000060| c3 30 6a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.0j.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 65 38 00 00 |........|....e8..|
|00000080| 47 72 65 67 20 41 6e 64 | 65 72 73 6f 6e 0d 46 69 |Greg And|erson.Fi|
|00000090| 72 73 74 20 72 65 76 3a | 20 4d 61 72 63 68 20 31 |rst rev:| March 1|
|000000a0| 39 39 34 0d 46 69 6e 61 | 6c 20 72 65 76 3a 20 4f |994.Fina|l rev: O|
|000000b0| 63 74 6f 62 65 72 20 31 | 39 39 34 0d 0d 0d 41 62 |ctober 1|994...Ab|
|000000c0| 6f 75 74 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |out the |program |
|000000d0| 22 5a 61 77 70 68 69 6e | 67 22 0d 2d 2d 2d 2d 2d |"Zawphin|g".-----|
|000000e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000f0| 2d 2d 2d 2d 2d 2d 2d 0d | 22 5a 61 77 70 68 69 6e |-------.|"Zawphin|
|00000100| 67 22 20 69 73 20 61 20 | 70 72 6f 67 72 61 6d 20 |g" is a |program |
|00000110| 74 68 61 74 20 73 65 74 | 73 20 74 68 65 20 63 72 |that set|s the cr|
|00000120| 65 61 74 6f 72 20 61 6e | 64 20 66 69 6c 65 20 74 |eator an|d file t|
|00000130| 79 70 65 73 20 6f 66 0d | 66 69 6c 65 73 20 73 65 |ypes of.|files se|
|00000140| 6c 65 63 74 65 64 20 69 | 6e 20 74 68 65 20 46 69 |lected i|n the Fi|
|00000150| 6e 64 65 72 2e 20 20 49 | 74 73 20 70 75 72 70 6f |nder. I|ts purpo|
|00000160| 73 65 20 69 73 20 74 6f | 20 64 65 6d 6f 6e 73 74 |se is to| demonst|
|00000170| 72 61 74 65 0d 74 65 63 | 68 6e 69 71 75 65 73 20 |rate.tec|hniques |
|00000180| 6f 66 20 73 65 6e 64 69 | 6e 67 20 41 70 70 6c 65 |of sendi|ng Apple|
|00000190| 45 76 65 6e 74 73 20 74 | 6f 20 74 68 65 20 53 63 |Events t|o the Sc|
|000001a0| 72 69 70 74 61 62 6c 65 | 20 46 69 6e 64 65 72 20 |riptable| Finder |
|000001b0| 74 6f 20 64 6f 0d 61 20 | 63 6f 75 70 6c 65 20 6f |to do.a |couple o|
|000001c0| 66 20 63 6f 6d 6d 6f 6e | 6c 79 20 64 65 73 69 72 |f common|ly desir|
|000001d0| 65 64 20 74 61 73 6b 73 | 20 28 65 2e 67 2e 20 67 |ed tasks| (e.g. g|
|000001e0| 65 74 20 74 68 65 20 6c | 69 73 74 20 6f 66 20 73 |et the l|ist of s|
|000001f0| 65 6c 65 63 74 65 64 0d | 69 74 65 6d 73 29 2e 20 |elected.|items). |
|00000200| 20 5a 61 77 70 68 69 6e | 67 20 69 73 20 61 6e 20 | Zawphin|g is an |
|00000210| 41 70 70 6c 69 63 61 74 | 69 6f 6e 2c 20 62 75 74 |Applicat|ion, but|
|00000220| 20 69 74 20 72 75 6e 73 | 20 6c 69 6b 65 20 61 20 | it runs| like a |
|00000230| 64 65 73 6b 0d 61 63 63 | 65 73 73 6f 72 79 3b 20 |desk.acc|essory; |
|00000240| 69 74 20 61 6c 77 61 79 | 73 20 68 61 73 20 61 20 |it alway|s has a |
|00000250| 73 69 6e 67 6c 65 20 6f | 70 65 6e 20 77 69 6e 64 |single o|pen wind|
|00000260| 6f 77 2c 20 61 6e 64 20 | 69 66 20 69 74 73 20 77 |ow, and |if its w|
|00000270| 69 6e 64 6f 77 0d 69 73 | 20 63 6c 6f 73 65 64 2c |indow.is| closed,|
|00000280| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00000290| 20 71 75 69 74 73 2e 0d | 0d 0d 4f 6b 61 79 2c 20 | quits..|..Okay, |
|000002a0| 77 68 61 74 20 64 6f 65 | 73 20 22 5a 61 77 70 68 |what doe|s "Zawph|
|000002b0| 69 6e 67 22 20 6d 65 61 | 6e 3f 0d 2d 2d 2d 2d 2d |ing" mea|n?.-----|
|000002c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000002d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 57 68 65 6e |--------|---.When|
|000002e0| 65 76 65 72 20 49 20 63 | 61 6e 27 74 20 74 68 69 |ever I c|an't thi|
|000002f0| 6e 6b 20 6f 66 20 61 20 | 73 75 69 74 61 62 6c 65 |nk of a |suitable|
|00000300| 20 6e 61 6d 65 20 66 6f | 72 20 61 20 70 72 6f 67 | name fo|r a prog|
|00000310| 72 61 6d 20 49 27 6d 0d | 61 62 6f 75 74 20 74 6f |ram I'm.|about to|
|00000320| 20 73 74 61 72 74 2c 20 | 49 20 6d 61 6b 65 20 75 | start, |I make u|
|00000330| 70 20 61 20 72 61 6e 64 | 6f 6d 20 73 6f 75 6e 64 |p a rand|om sound|
|00000340| 20 74 6f 20 69 64 65 6e | 74 69 66 79 20 69 74 20 | to iden|tify it |
|00000350| 77 69 74 68 2e 0d 22 5a | 61 77 70 68 69 6e 67 22 |with.."Z|awphing"|
|00000360| 20 69 73 20 74 68 65 20 | 73 6f 75 6e 64 20 74 68 | is the |sound th|
|00000370| 61 74 20 69 73 20 6d 61 | 64 65 20 77 68 65 6e 20 |at is ma|de when |
|00000380| 74 68 65 20 6c 69 74 74 | 6c 65 20 77 69 7a 7a 61 |the litt|le wizza|
|00000390| 72 64 0d 7a 61 70 73 20 | 74 68 65 20 63 72 65 61 |rd.zaps |the crea|
|000003a0| 74 6f 72 2f 66 69 6c 65 | 20 74 79 70 65 20 6f 66 |tor/file| type of|
|000003b0| 20 74 68 65 20 46 69 6e | 64 65 72 20 73 65 6c 65 | the Fin|der sele|
|000003c0| 63 74 69 6f 6e 2e 20 20 | 28 50 6c 61 79 69 6e 67 |ction. |(Playing|
|000003d0| 0d 61 20 73 6f 75 6e 64 | 20 69 73 20 61 6e 20 61 |.a sound| is an a|
|000003e0| 64 76 61 6e 63 65 64 20 | 73 61 6d 70 6c 65 20 6c |dvanced |sample l|
|000003f0| 65 66 74 20 61 73 20 61 | 6e 20 65 78 65 72 63 69 |eft as a|n exerci|
|00000400| 73 65 20 66 6f 72 20 74 | 68 65 0d 72 65 61 64 65 |se for t|he.reade|
|00000410| 72 27 73 20 69 6d 61 67 | 69 6e 61 74 69 6f 6e 2e |r's imag|ination.|
|00000420| 29 20 20 54 68 65 20 63 | 6f 72 72 65 63 74 20 70 |) The c|orrect p|
|00000430| 72 6f 6e 6f 75 6e 63 69 | 61 74 69 6f 6e 20 69 73 |ronounci|ation is|
|00000440| 20 22 5a 61 77 2d 50 48 | 49 4e 47 22 3b 0d 22 5a | "Zaw-PH|ING";."Z|
|00000450| 61 77 70 68 2d 69 6e 67 | 22 20 69 73 20 64 65 66 |awph-ing|" is def|
|00000460| 69 6e 69 74 65 6c 79 20 | 77 72 6f 6e 67 2e 20 20 |initely |wrong. |
|00000470| 52 65 6d 65 6d 62 65 72 | 2c 20 69 74 27 73 20 61 |Remember|, it's a|
|00000480| 20 73 6f 75 6e 64 2c 20 | 6e 6f 74 0d 61 20 76 65 | sound, |not.a ve|
|00000490| 72 62 2e 0d 0d 0d 48 6f | 77 20 74 68 65 20 53 6f |rb....Ho|w the So|
|000004a0| 75 72 63 65 20 69 73 20 | 6f 72 67 61 6e 69 7a 65 |urce is |organize|
|000004b0| 64 0d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |d.------|--------|
|000004c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 5a 61 |--------|-----.Za|
|000004d0| 77 70 68 69 6e 67 20 63 | 6f 6e 73 69 73 74 73 20 |wphing c|onsists |
|000004e0| 6f 66 20 61 20 6e 75 6d | 62 65 72 20 6f 66 20 73 |of a num|ber of s|
|000004f0| 6f 75 72 63 65 20 66 69 | 6c 65 73 2c 20 73 6f 6d |ource fi|les, som|
|00000500| 65 20 6f 66 20 77 68 69 | 63 68 0d 73 74 61 6e 64 |e of whi|ch.stand|
|00000510| 20 6f 6e 20 74 68 65 69 | 72 20 6f 77 6e 2c 20 61 | on thei|r own, a|
|00000520| 6e 64 20 73 6f 6d 65 20 | 6f 66 20 77 68 69 63 68 |nd some |of which|
|00000530| 20 72 65 71 75 69 72 65 | 20 73 75 70 70 6f 72 74 | require| support|
|00000540| 20 66 72 6f 6d 0d 6f 74 | 68 65 72 20 66 69 6c 65 | from.ot|her file|
|00000550| 73 20 69 6e 20 74 68 65 | 20 70 72 6f 6a 65 63 74 |s in the| project|
|00000560| 2e 20 20 5a 61 77 70 68 | 69 6e 67 20 68 61 73 20 |. Zawph|ing has |
|00000570| 61 20 6d 69 6e 69 2d 61 | 70 70 6c 69 63 61 74 69 |a mini-a|pplicati|
|00000580| 6f 6e 0d 66 72 61 6d 65 | 77 6f 72 6b 3b 20 69 74 |on.frame|work; it|
|00000590| 27 73 20 6d 69 73 73 69 | 6e 67 20 6b 65 79 20 69 |'s missi|ng key i|
|000005a0| 6d 70 6f 72 74 61 6e 74 | 20 63 6f 6e 63 65 70 74 |mportant| concept|
|000005b0| 73 20 73 75 63 68 20 61 | 73 20 61 0d 67 41 70 70 |s such a|s a.gApp|
|000005c0| 6c 69 63 61 74 69 6f 6e | 20 6f 62 6a 65 63 74 2c |lication| object,|
|000005d0| 20 62 75 74 20 68 61 73 | 20 73 6f 6d 65 20 75 73 | but has| some us|
|000005e0| 65 66 75 6c 20 77 69 6e | 64 6f 77 20 61 6e 64 20 |eful win|dow and |
|000005f0| 6d 65 6e 75 0d 66 72 61 | 6d 65 77 6f 72 6b 20 63 |menu.fra|mework c|
|00000600| 6f 64 65 2e 20 20 46 6f | 72 6d 65 72 20 4d 61 63 |ode. Fo|rmer Mac|
|00000610| 41 70 70 20 74 65 61 6d | 20 6d 65 6d 62 65 72 73 |App team| members|
|00000620| 20 63 61 6e 27 74 20 77 | 72 69 74 65 20 65 76 65 | can't w|rite eve|
|00000630| 6e 0d 73 69 6d 70 6c 65 | 20 73 61 6d 70 6c 65 20 |n.simple| sample |
|00000640| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 77 69 74 |applicat|ions wit|
|00000650| 68 6f 75 74 20 73 6f 6d | 65 20 61 62 73 74 72 61 |hout som|e abstra|
|00000660| 63 74 69 6f 6e 2e 20 20 | 3a 3e 0d 0d 0d 54 68 65 |ction. |:>...The|
|00000670| 20 6d 61 69 6e 20 66 69 | 6c 65 73 20 74 68 61 74 | main fi|les that|
|00000680| 20 64 65 66 69 6e 65 20 | 74 68 65 20 61 70 70 6c | define |the appl|
|00000690| 69 63 61 74 69 6f 6e 20 | 22 5a 61 77 70 68 69 6e |ication |"Zawphin|
|000006a0| 67 22 20 61 72 65 3a 0d | 0d 4d 61 69 6e 2e 63 70 |g" are:.|.Main.cp|
|000006b0| 09 09 09 09 09 49 6e 69 | 74 69 61 6c 69 7a 65 73 |.....Ini|tializes|
|000006c0| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 74 | the Mac|intosh t|
|000006d0| 6f 6f 6c 62 6f 78 20 61 | 6e 64 0d 09 09 09 09 09 |oolbox a|nd......|
|000006e0| 09 62 65 67 69 6e 73 20 | 65 78 65 63 75 74 69 6f |.begins |executio|
|000006f0| 6e 20 6f 66 20 74 68 65 | 20 61 70 70 6c 69 63 61 |n of the| applica|
|00000700| 74 69 6f 6e 2e 0d 0d 53 | 65 74 54 79 70 65 73 4f |tion...S|etTypesO|
|00000710| 66 53 65 6c 65 63 74 69 | 6f 6e 2e 63 70 09 54 68 |fSelecti|on.cp.Th|
|00000720| 65 20 63 6f 64 65 20 74 | 68 61 74 20 61 63 74 75 |e code t|hat actu|
|00000730| 61 6c 6c 79 20 73 65 6e | 64 73 20 41 70 70 6c 65 |ally sen|ds Apple|
|00000740| 45 76 65 6e 74 73 0d 09 | 09 09 09 09 09 74 6f 20 |Events..|.....to |
|00000750| 74 68 65 20 53 63 72 69 | 70 74 61 62 6c 65 20 46 |the Scri|ptable F|
|00000760| 69 6e 64 65 72 2e 0d 0d | 53 65 74 54 79 70 65 73 |inder...|SetTypes|
|00000770| 44 69 61 6c 6f 67 2e 63 | 70 09 09 54 68 69 73 20 |Dialog.c|p..This |
|00000780| 63 6f 64 65 20 6d 61 6e | 61 67 65 73 20 74 68 65 |code man|ages the|
|00000790| 20 6d 6f 64 65 6c 65 73 | 73 20 64 69 61 6c 6f 67 | modeles|s dialog|
|000007a0| 0d 09 09 09 09 09 09 75 | 73 65 64 20 69 6e 20 74 |.......u|sed in t|
|000007b0| 68 69 73 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2e |his appl|ication.|
|000007c0| 0d 0d 4d 65 6e 75 54 61 | 62 6c 65 2e 63 70 09 09 |..MenuTa|ble.cp..|
|000007d0| 09 41 20 6c 69 73 74 20 | 6f 66 20 66 75 6e 63 74 |.A list |of funct|
|000007e0| 69 6f 6e 20 70 6f 69 6e | 74 65 72 73 20 74 6f 20 |ion poin|ters to |
|000007f0| 72 6f 75 74 69 6e 65 73 | 20 74 68 61 74 0d 09 09 |routines| that...|
|00000800| 09 09 09 09 68 61 6e 64 | 6c 65 20 74 68 65 20 76 |....hand|le the v|
|00000810| 61 72 69 6f 75 73 20 6d | 65 6e 75 20 73 65 6c 65 |arious m|enu sele|
|00000820| 63 74 69 6f 6e 73 2e 20 | 20 49 66 20 49 20 68 61 |ctions. | If I ha|
|00000830| 64 0d 09 09 09 09 09 09 | 61 20 67 41 70 70 6c 69 |d.......|a gAppli|
|00000840| 63 61 74 69 6f 6e 20 6f | 62 6a 65 63 74 20 61 6e |cation o|bject an|
|00000850| 64 20 72 65 61 6c 20 65 | 76 65 6e 74 20 64 69 73 |d real e|vent dis|
|00000860| 70 61 74 63 68 69 6e 67 | 2c 0d 09 09 09 09 09 09 |patching|,.......|
|00000870| 49 20 77 6f 75 6c 64 6e | 27 74 20 6e 65 65 64 20 |I wouldn|'t need |
|00000880| 74 68 69 73 20 73 69 6c | 6c 79 20 74 61 62 6c 65 |this sil|ly table|
|00000890| 2e 0d 0d 41 62 6f 75 74 | 42 6f 78 2e 63 70 09 09 |...About|Box.cp..|
|000008a0| 09 09 41 6e 20 69 6d 70 | 6f 72 74 61 6e 74 20 66 |..An imp|ortant f|
|000008b0| 69 6c 65 2c 20 64 65 73 | 70 69 74 65 20 74 68 65 |ile, des|pite the|
|000008c0| 20 66 61 63 74 20 74 68 | 61 74 0d 09 09 09 09 09 | fact th|at......|
|000008d0| 09 69 74 20 64 6f 65 73 | 6e 27 74 20 64 6f 20 76 |.it does|n't do v|
|000008e0| 65 72 79 20 6d 75 63 68 | 2e 0d 0d 0d 54 68 65 20 |ery much|....The |
|000008f0| 22 4d 69 6e 69 2d 61 70 | 70 6c 69 63 61 74 69 6f |"Mini-ap|plicatio|
|00000900| 6e 20 66 72 61 6d 65 77 | 6f 72 6b 22 20 69 73 20 |n framew|ork" is |
|00000910| 64 65 66 69 6e 65 64 20 | 62 79 20 74 68 65 20 66 |defined |by the f|
|00000920| 6f 6c 6c 6f 77 69 6e 67 | 0d 73 6f 75 72 63 65 73 |ollowing|.sources|
|00000930| 3a 0d 0d 0d 45 76 65 6e | 74 48 61 6e 64 6c 65 72 |:...Even|tHandler|
|00000940| 2e 63 70 09 09 09 43 61 | 6c 6c 73 20 57 61 69 74 |.cp...Ca|lls Wait|
|00000950| 4e 65 78 74 45 76 65 6e | 74 20 61 6e 64 20 64 69 |NextEven|t and di|
|00000960| 73 70 61 74 63 68 65 73 | 20 65 76 65 6e 74 73 0d |spatches| events.|
|00000970| 09 09 09 09 09 09 74 6f | 20 74 68 65 20 61 70 70 |......to| the app|
|00000980| 72 6f 70 72 69 61 74 65 | 20 68 61 6e 64 6c 65 72 |ropriate| handler|
|00000990| 73 2e 0d 09 09 09 09 09 | 09 0d 4d 65 6e 75 48 61 |s.......|..MenuHa|
|000009a0| 6e 64 6c 65 72 2e 63 70 | 09 09 09 4d 61 6e 61 67 |ndler.cp|...Manag|
|000009b0| 65 73 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 6d |es appli|cation m|
|000009c0| 65 6e 75 73 2e 20 20 54 | 68 69 73 20 63 6f 64 65 |enus. T|his code|
|000009d0| 20 69 73 0d 09 09 09 09 | 09 09 6f 6c 64 20 61 6e | is.....|..old an|
|000009e0| 64 20 72 61 74 68 65 72 | 20 73 75 62 2d 6f 70 74 |d rather| sub-opt|
|000009f0| 69 6d 61 6c 2c 20 62 75 | 74 20 69 74 20 77 6f 72 |imal, bu|t it wor|
|00000a00| 6b 73 0d 09 09 09 09 09 | 09 77 65 6c 6c 20 65 6e |ks......|.well en|
|00000a10| 6f 75 67 68 20 66 6f 72 | 20 61 20 73 69 6d 70 6c |ough for| a simpl|
|00000a20| 65 20 73 61 6d 70 6c 65 | 20 61 70 70 2e 0d 0d 57 |e sample| app...W|
|00000a30| 69 6e 64 6f 77 48 61 6e | 64 6c 65 72 2e 63 70 09 |indowHan|dler.cp.|
|00000a40| 09 41 62 73 74 72 61 63 | 74 20 63 6f 64 65 20 74 |.Abstrac|t code t|
|00000a50| 68 61 74 20 64 65 66 69 | 6e 65 73 20 61 20 73 65 |hat defi|nes a se|
|00000a60| 74 20 6f 66 20 76 69 72 | 74 75 61 6c 73 0d 09 09 |t of vir|tuals...|
|00000a70| 09 09 09 09 74 68 61 74 | 20 61 72 65 20 63 61 6c |....that| are cal|
|00000a80| 6c 65 64 20 62 79 20 74 | 68 65 20 65 76 65 6e 74 |led by t|he event|
|00000a90| 20 68 61 6e 64 6c 65 72 | 2e 20 20 49 6e 63 6c 75 | handler|. Inclu|
|00000aa0| 64 65 73 0d 09 09 09 09 | 09 09 61 20 63 6c 61 73 |des.....|..a clas|
|00000ab0| 73 20 66 6f 72 20 6d 6f | 64 65 6c 65 73 73 20 64 |s for mo|deless d|
|00000ac0| 69 61 6c 6f 67 20 62 6f | 78 65 73 20 74 68 61 74 |ialog bo|xes that|
|00000ad0| 20 68 61 6e 64 6c 65 73 | 0d 09 09 09 09 09 09 73 | handles|.......s|
|00000ae0| 75 63 68 20 74 68 69 6e | 67 73 20 61 73 20 63 68 |uch thin|gs as ch|
|00000af0| 61 6e 67 69 6e 67 20 74 | 68 65 20 63 75 72 73 6f |anging t|he curso|
|00000b00| 72 20 73 68 61 70 65 20 | 74 6f 20 61 6e 0d 09 09 |r shape |to an...|
|00000b10| 09 09 09 09 49 2d 62 65 | 61 6d 20 77 68 65 6e 20 |....I-be|am when |
|00000b20| 69 74 20 70 61 73 73 65 | 73 20 6f 76 65 72 20 61 |it passe|s over a|
|00000b30| 6e 20 45 64 69 74 54 65 | 78 74 20 69 74 65 6d 2e |n EditTe|xt item.|
|00000b40| 0d 0d 0d 54 68 65 20 70 | 72 69 6d 61 72 79 20 75 |...The p|rimary u|
|00000b50| 74 69 6c 69 74 69 65 73 | 20 6f 66 20 6e 6f 74 65 |tilities| of note|
|00000b60| 20 61 72 65 3a 0d 0d 41 | 70 70 6c 65 45 76 65 6e | are:..A|ppleEven|
|00000b70| 74 55 74 69 6c 69 74 69 | 65 73 2e 63 70 09 41 20 |tUtiliti|es.cp.A |
|00000b80| 73 74 61 6e 64 2d 61 6c | 6f 6e 65 20 73 65 74 20 |stand-al|one set |
|00000b90| 6f 66 20 43 2b 2b 20 77 | 72 61 70 70 65 72 73 20 |of C++ w|rappers |
|00000ba0| 66 6f 72 0d 09 09 09 09 | 09 09 74 68 65 20 41 70 |for.....|..the Ap|
|00000bb0| 70 6c 65 45 76 65 6e 74 | 20 6d 61 6e 61 67 65 72 |pleEvent| manager|
|00000bc0| 2e 20 20 49 6e 63 6c 75 | 64 65 73 20 75 73 65 66 |. Inclu|des usef|
|00000bd0| 75 6c 0d 09 09 09 09 09 | 09 63 6c 61 73 73 65 73 |ul......|.classes|
|00000be0| 20 66 6f 72 20 61 63 63 | 65 73 73 69 6e 67 20 70 | for acc|essing p|
|00000bf0| 61 72 61 6d 65 74 65 72 | 73 20 69 6e 0d 09 09 09 |arameter|s in....|
|00000c00| 09 09 09 72 65 63 6f 72 | 64 73 2c 20 69 74 65 72 |...recor|ds, iter|
|00000c10| 61 74 69 6e 67 20 69 74 | 65 6d 73 20 69 6e 20 6c |ating it|ems in l|
|00000c20| 69 73 74 73 2c 20 61 6e | 64 0d 09 09 09 09 09 09 |ists, an|d.......|
|00000c30| 62 75 69 6c 64 69 6e 67 | 20 64 65 73 63 72 69 70 |building| descrip|
|00000c40| 74 6f 72 73 2c 20 6c 69 | 73 74 73 20 61 6e 64 20 |tors, li|sts and |
|00000c50| 72 65 63 6f 72 64 73 2e | 0d 0d 45 78 63 65 70 74 |records.|..Except|
|00000c60| 69 6f 6e 73 2e 63 70 09 | 09 09 56 65 72 79 20 75 |ions.cp.|..Very u|
|00000c70| 73 65 66 75 6c 20 63 6f | 64 65 20 74 68 61 74 20 |seful co|de that |
|00000c80| 69 6d 70 6c 65 6d 65 6e | 74 73 20 61 20 66 61 69 |implemen|ts a fai|
|00000c90| 6c 75 72 65 0d 09 09 09 | 09 09 09 68 61 6e 64 6c |lure....|...handl|
|00000ca0| 65 72 20 77 69 74 68 20 | 54 72 79 2f 43 61 74 63 |er with |Try/Catc|
|00000cb0| 68 20 73 65 6d 61 6e 74 | 69 63 73 2e 20 20 28 4e |h semant|ics. (N|
|00000cc0| 6f 20 64 65 70 65 6e 64 | 61 6e 63 69 65 73 29 0d |o depend|ancies).|
|00000cd0| 0d 52 65 70 6f 72 74 45 | 72 72 6f 72 2e 63 70 09 |.ReportE|rror.cp.|
|00000ce0| 09 09 43 6f 64 65 20 74 | 68 61 74 20 63 6f 6e 76 |..Code t|hat conv|
|00000cf0| 65 72 74 73 20 4f 2e 53 | 2e 20 65 72 72 6f 72 73 |erts O.S|. errors|
|00000d00| 20 69 6e 74 6f 20 64 65 | 73 63 72 69 70 74 69 76 | into de|scriptiv|
|00000d10| 65 0d 09 09 09 09 09 09 | 73 74 72 69 6e 67 73 2e |e.......|strings.|
|00000d20| 20 20 55 73 65 73 20 44 | 69 61 6c 6f 67 55 74 69 | Uses D|ialogUti|
|00000d30| 6c 69 74 69 65 73 20 61 | 6e 64 20 53 74 72 69 6e |lities a|nd Strin|
|00000d40| 67 55 74 69 6c 69 74 69 | 65 73 2e 0d 09 09 09 09 |gUtiliti|es......|
|00000d50| 09 09 52 65 71 75 69 72 | 65 73 20 44 4c 4f 47 20 |..Requir|es DLOG |
|00000d60| 69 64 20 33 30 33 30 33 | 20 61 6e 64 20 54 45 58 |id 30303| and TEX|
|00000d70| 54 20 69 64 20 33 30 33 | 30 33 2e 0d 0d 44 69 61 |T id 303|03...Dia|
|00000d80| 6c 6f 67 55 74 69 6c 69 | 74 69 65 73 2e 63 70 09 |logUtili|ties.cp.|
|00000d90| 09 55 73 65 66 75 6c 20 | 63 6f 64 65 20 74 68 61 |.Useful |code tha|
|00000da0| 74 20 68 65 6c 70 73 20 | 6d 61 6e 61 67 65 20 6d |t helps |manage m|
|00000db0| 6f 64 61 6c 20 61 6e 64 | 20 6d 6f 64 65 6c 65 73 |odal and| modeles|
|00000dc0| 73 0d 09 09 09 09 09 09 | 64 69 61 6c 6f 67 20 62 |s.......|dialog b|
|00000dd0| 6f 78 65 73 2e 20 20 52 | 65 71 75 69 72 65 73 20 |oxes. R|equires |
|00000de0| 53 74 72 69 6e 67 55 74 | 69 6c 69 74 69 65 73 2e |StringUt|ilities.|
|00000df0| 0d 0d 4e 65 78 74 45 76 | 65 6e 74 2e 63 70 09 09 |..NextEv|ent.cp..|
|00000e00| 09 4f 6c 64 20 63 6f 64 | 65 20 74 68 61 74 20 75 |.Old cod|e that u|
|00000e10| 73 65 64 20 74 6f 20 61 | 62 73 74 72 61 63 74 20 |sed to a|bstract |
|00000e20| 57 61 69 74 4e 65 78 74 | 45 76 65 6e 74 0d 09 09 |WaitNext|Event...|
|00000e30| 09 09 09 09 76 73 2e 20 | 47 65 74 4e 65 78 74 45 |....vs. |GetNextE|
|00000e40| 76 65 6e 74 20 66 6f 72 | 20 72 75 6e 6e 69 6e 67 |vent for| running|
|00000e50| 20 6f 6e 20 53 79 73 74 | 65 6d 20 36 20 77 69 74 | on Syst|em 6 wit|
|00000e60| 68 6f 75 74 0d 09 09 09 | 09 09 09 4d 75 6c 74 69 |hout....|...Multi|
|00000e70| 46 69 6e 64 65 72 20 28 | 79 65 73 2c 20 76 65 72 |Finder (|yes, ver|
|00000e80| 79 20 6f 6c 64 20 63 6f | 64 65 21 29 2e 20 20 48 |y old co|de!). H|
|00000e90| 61 64 20 73 6f 6d 65 0d | 09 09 09 09 09 09 70 72 |ad some.|......pr|
|00000ea0| 6f 62 6c 65 6d 73 20 77 | 69 74 68 20 6e 61 74 69 |oblems w|ith nati|
|00000eb0| 76 65 20 63 6f 64 65 2c | 20 73 6f 20 6e 6f 77 20 |ve code,| so now |
|00000ec0| 69 74 20 6a 75 73 74 20 | 63 61 6c 6c 73 0d 09 09 |it just |calls...|
|00000ed0| 09 09 09 09 57 61 69 74 | 4e 65 78 74 45 76 65 6e |....Wait|NextEven|
|00000ee0| 74 20 64 69 72 65 63 74 | 6c 79 2c 20 61 6e 64 20 |t direct|ly, and |
|00000ef0| 74 68 65 72 65 66 6f 72 | 65 20 69 73 20 6f 66 0d |therefor|e is of.|
|00000f00| 09 09 09 09 09 09 6d 61 | 72 67 69 6e 61 6c 20 76 |......ma|rginal v|
|00000f10| 61 6c 75 65 2e 0d 09 09 | 09 09 09 09 55 73 65 73 |alue....|....Uses|
|00000f20| 20 4d 61 63 55 74 69 6c | 69 74 69 65 73 2e 63 70 | MacUtil|ities.cp|
|00000f30| 2e 0d 0d 4d 61 63 55 74 | 69 6c 69 74 69 65 73 2e |...MacUt|ilities.|
|00000f40| 63 70 09 09 09 53 69 6d | 70 6c 65 2c 20 75 73 65 |cp...Sim|ple, use|
|00000f50| 66 75 6c 20 72 6f 75 74 | 69 6e 65 73 20 74 68 61 |ful rout|ines tha|
|00000f60| 74 20 6d 61 6e 79 20 4d | 61 63 69 6e 74 6f 73 68 |t many M|acintosh|
|00000f70| 0d 09 09 09 09 09 09 61 | 70 70 6c 69 63 61 74 69 |.......a|pplicati|
|00000f80| 6f 6e 73 20 77 69 6c 6c | 20 75 73 65 2e 20 20 28 |ons will| use. (|
|00000f90| 4e 6f 20 64 65 70 65 6e | 64 61 6e 63 69 65 73 29 |No depen|dancies)|
|00000fa0| 0d 0d 53 74 72 69 6e 67 | 55 74 69 6c 69 74 69 65 |..String|Utilitie|
|00000fb0| 73 2e 63 70 09 09 53 69 | 6d 70 6c 65 20 63 6f 64 |s.cp..Si|mple cod|
|00000fc0| 65 20 74 68 61 74 20 6d | 61 6e 61 67 65 73 20 43 |e that m|anages C|
|00000fd0| 20 61 6e 64 20 50 61 73 | 63 61 6c 20 73 74 72 69 | and Pas|cal stri|
|00000fe0| 6e 67 73 2e 0d 09 09 09 | 09 09 09 4e 6f 74 20 61 |ngs.....|...Not a|
|00000ff0| 73 20 75 73 65 66 75 6c | 20 61 73 20 61 20 72 65 |s useful| as a re|
|00001000| 61 6c 20 73 74 72 69 6e | 67 20 63 6c 61 73 73 2c |al strin|g class,|
|00001010| 20 62 75 74 20 62 65 74 | 74 65 72 0d 09 09 09 09 | but bet|ter.....|
|00001020| 09 09 74 68 61 6e 20 6e | 6f 74 68 69 6e 67 2e 20 |..than n|othing. |
|00001030| 20 28 4e 6f 20 64 65 70 | 65 6e 64 61 6e 63 69 65 | (No dep|endancie|
|00001040| 73 29 0d 0d 0d 41 6e 64 | 2c 20 61 20 68 65 61 64 |s)...And|, a head|
|00001050| 65 72 20 6e 6f 74 20 79 | 65 74 20 69 6e 20 74 68 |er not y|et in th|
|00001060| 65 20 73 74 61 6e 64 61 | 72 64 20 73 65 74 20 62 |e standa|rd set b|
|00001070| 75 74 20 75 73 65 64 20 | 62 79 20 5a 61 77 70 68 |ut used |by Zawph|
|00001080| 69 6e 67 3a 0d 0d 46 69 | 6e 64 65 72 52 65 67 69 |ing:..Fi|nderRegi|
|00001090| 73 74 72 79 2e 68 09 09 | 44 65 66 69 6e 65 73 20 |stry.h..|Defines |
|000010a0| 63 6c 61 73 73 65 73 2c | 20 70 72 6f 70 65 72 74 |classes,| propert|
|000010b0| 69 65 73 2c 20 64 61 74 | 61 20 74 79 70 65 73 20 |ies, dat|a types |
|000010c0| 61 6e 64 0d 09 09 09 09 | 09 09 65 72 72 6f 72 20 |and.....|..error |
|000010d0| 63 6f 64 65 73 20 75 73 | 65 64 20 62 79 20 74 68 |codes us|ed by th|
|000010e0| 65 20 53 63 72 69 70 74 | 61 62 6c 65 20 46 69 6e |e Script|able Fin|
|000010f0| 64 65 72 2e 0d 00 00 00 | 00 00 00 00 00 00 00 00 |der.....|........|
|00001100| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00001110| 00 00 00 00 00 00 00 ff | 00 f5 f6 f9 ff ff f9 f6 |........|........|
|00001120| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 2b 2b f7 ff 00 |........|...++...|
|00001130| 0f 5a 61 77 70 68 69 6e | 67 20 52 45 41 44 4d 45 |.Zawphin|g README|
|00001140| 02 00 00 00 54 45 58 54 | 4d 4d 43 43 01 00 00 00 |....TEXT|MMCC....|
|00001150| 00 00 54 45 58 54 4d 4d | 43 43 01 00 00 00 01 00 |..TEXTMM|CC......|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 a9 af 14 5b 00 00 | 10 75 00 00 01 7e ff ff |.....[..|.u...~..|
|00001180| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 04 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00001210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001220| 00 00 00 00 00 00 00 03 | 00 04 00 56 00 0a 03 1f |........|...V....|
|00001230| 02 0d 00 56 00 0a 03 1f | 02 0d aa c2 f8 21 00 00 |...V....|.....!..|
|00001240| 00 3c 00 00 00 3c 00 00 | 07 ea 01 00 00 00 01 00 |.<...<..|........|
|00001250| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 c5 36 88 |...L...L|...2..6.|
|00001260| 12 bc 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00001270| 00 0a 03 ed ff ff 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+